package cn.hwh.springframework.context;

import java.util.EventListener;

/**
 * @author wenhao hu
 * @title: asd
 * @projectName mini-spring
 * @description: TODO
 * @date 2022/2/1514:50
 */
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);

}